﻿using ShanNiang.Service.LoginModels.Responses;
using static System.Environment;
namespace ShanNiang.Service
{
    /// <summary>
    ///
    /// </summary>
    public class PackingConfig
    {
        public PackingConfig()
        {
            ClientId = "client_jdl_miniprogram";
            ClientSecret = "511536EF-F270-4058-80CA-1C89C192F69A";
            DefaultBarcode = "7462095069486";
            FullScreen = false;
            IdentityServer = "https://ids.shan-niang.com";
            XkmServer = "https://xkmapi.shan-niang.com";
        }
        /// <summary>
        /// 客户端Id
        /// </summary>
        public string ClientId { get; set; }
        /// <summary>
        /// 客户端密钥
        /// </summary>
        public string ClientSecret { get; set; }
        /// <summary>
        /// 默认商品条码
        /// </summary>
        public string DefaultBarcode { get; set; }
        /// <summary>
        /// 是否全屏显示
        /// </summary>
        public bool FullScreen { get; set; }
        /// <summary>
        /// 关闭应用同时关闭Windows
        /// </summary>
        public bool CloseWindows { get; set; }
        /// <summary>
        /// 认证服务器
        /// </summary>
        public string IdentityServer { get; set; }
        /// <summary>
        /// 已登陆令牌
        /// </summary>
        public IdsToken? Token { get; set; }
        /// <summary>
        /// 雪克码服务器
        /// </summary>
        public string XkmServer { get; set; }

        
    }
}
